package com.xk.Reflect.exercise;

public class Student1 {
    private String sName;
    private int sAge;
    private int sID;
    private int sGrade;

    public Student1() {
    }

    public Student1(String sName, int sAge, int sID, int sGrade) {
        this.sName = sName;
        this.sAge = sAge;
        this.sID = sID;
        this.sGrade = sGrade;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getsAge() {
        return sAge;
    }

    public void setsAge(int sAge) {
        this.sAge = sAge;
    }

    public int getsID() {
        return sID;
    }

    public void setsID(int sID) {
        this.sID = sID;
    }

    public int getsGrade() {
        return sGrade;
    }

    public void setsGrade(int sGrade) {
        this.sGrade = sGrade;
    }

    @Override
    public String toString() {
        return "{" +
                "sName='" + sName + '\'' +
                ", sAge=" + sAge +
                ", sID=" + sID +
                ", sGrade=" + sGrade +
                '}';
    }
}
